#include "SecurityModule.h"
#include "SecurityPlugin.h"

#ifdef FG_DYNAMIC_PLUGIN

FG_EXPORT void DllStartPlugin(IPluginManager* pm)
{

    CREATE_PLUGIN(pm, SecurityPlugin)

};

FG_EXPORT void DllStopPlugin(IPluginManager* pm)
{
    DESTROY_PLUGIN(pm, SecurityPlugin)
};

#endif
//////////////////////////////////////////////////////////////////////////

const int FragrantGrass::SecurityPlugin::GetPluginVersion()
{
    return 0;
}

const std::string FragrantGrass::SecurityPlugin::GetPluginName()
{
	return GET_CLASS_NAME(SecurityPlugin);
}

void FragrantGrass::SecurityPlugin::Install()
{
    REGISTER_MODULE(m_pPluginManager, ISecurityModule, SecurityModule)
}

void FragrantGrass::SecurityPlugin::Uninstall()
{
    UNREGISTER_MODULE(m_pPluginManager, ISecurityModule, SecurityModule)
}